function InputView(param) {
	var self = Ti.UI.createWindow({
		title : param.detailTitle,
		//title:_args.title,
		backgroundColor:'#fff'
	});
	
		var knowledgeArea = param.knowledge;
	knowledgeArea = knowledgeArea.replace(/\s+/g,"");
	knowledgeArea[0] = knowledgeArea[0].toLowerCase();
	
	/*
	 * 
	 * multidimensional arrray that contains each process area (knowledge area)
	 * for each knowledgearea exists x amount of inputs
	 * 	 
	 */	
		var inputObject = {
		"PlanScheduleManagement" : {
		"input" : ['Project Management Plan: defines how the project is executed, monitored, controlled and closed.  The scope baseline and other information such as related cost, risk, and communication decisions are information used from this document to produce the schedule management plan.',
		'Project Charter: defines the summary milestone schedule and project approval requirements that will influence the management of the project schedule.',
		'Enterprise Environmental Factors: are conditions not under the control of the project team that influences, constraints, or direct the project.',
	'Organizational Process Assets: are plans, processes, policies, procedures, and knowledge bases specific to and used by the performing organization.  This includes any artifact, practice or knowledge from any or all of the organizations involved in the project that can be used to perform or govern the project.'
		]
		}
		,
	"DefineActivities" : { "input" :['Schedule Management Plan: can establish the project schedule model development, level of accuracy, units of measure, organizational procedures links, project schedule model maintenance, control thresholds, rules of performance measurement, reporting formats, and process descriptions.',
	'Scope Baseline: is the approved version of scope statement, work breakdown structure (WBS), and WBS dictionary. ',
	'Enterprise Environmental Structure: are conditions not under the control of the project team that influences, constraints, or direct the project.',
	'Organizational Process Assets: are plans, processes, policies, procedures, and knowledge bases specific to and used by the performing organization.  This includes any artifact, practice or knowledge from any or all of the organizations involved in the project that can be used to perform or govern the project.'
	]},
	"SequenceActivities" : {
		"input" : ['Schedule Management Plan: can establish the project schedule model development, level of accuracy, units of measure, organizational procedures links, project schedule model maintenance, control thresholds, rules of performance measurement, reporting formats, and process descriptions.',
		'Activity lists: is a comprehensive list of all scheduled activities required on the project.  It also includes activity identifier and a scope of work description for each activity in sufficient detail to ensure that project teams understand what is required to be completed.',
		'Activity Attributes: extends the description of activity by identifying the components associated with each activity.  The attributes are used for schedule development and selecting, ordering, and sorting the planned schedule activities in various ways within reports.',
		'Milestone List: is a list that identifies all project milestones and indicates whether the milestone is mandatory.  Milestones unlike schedule activities have zero duration because they represent a moment in time.',
		'Project Scope Statement: this document contains the product scope description and includes product characteristics that may affect activity sequencing.',
		'Enterprise Environmental Factors: are conditions not under the control of the project team that influences, constraints, or direct the project.',
		'Organizational Process Assets: are plans, processes, policies, procedures, and knowledge bases specific to and used by the performing organization.  This includes any artifact, practice or knowledge from any or all of the organizations involved in the project that can be used to perform or govern the project.'
		]},
	"EstimateActivityResources" :{
		"input" : [
		'Schedule Management Plan: can establish the project schedule model development, level of accuracy, units of measure, organizational procedures links, project schedule model maintenance, control thresholds, rules of performance measurement, reporting formats, and process descriptions.',
		'Activity lists: is a comprehensive list of all scheduled activities required on the project.  It also includes activity identifier and a scope of work description for each activity in sufficient detail to ensure that project teams understand what is required to be completed.',
		'Activity Attributes: extends the description of activity by identifying the components associated with each activity.  The attributes are used for schedule development and selecting, ordering, and sorting the planned schedule activities in various ways within reports.',
		'Resource Calendars: identifies the working days and shifts on which each specific resource is available.   This information is used to estimate resource utilization.  The calendar specifies when and how long identified project resources will be available during the project.  The information may be at activity or project level.',
		'Risk Register: documents the results of risk analysis and risk response.',
		'Activity Cost Estimates: are quantitative assessments of the probable costs required to complete project work.',
		'Enterprise Environmental Factors: are conditions not under the control of the project team that influences, constraints, or direct the project.',
		'Organizational Process Assets: are plans, processes, policies, procedures, and knowledge bases specific to and used by the performing organization.  This includes any artifact, practice or knowledge from any or all of the organizations involved in the project that can be used to perform or govern the project.'		
		
	]},
	"EstimateActivityDuration" :{
		"input" : [
		'Schedule Management Plan: can establish the project schedule model development, level of accuracy, units of measure, organizational procedures links, project schedule model maintenance, control thresholds, rules of performance measurement, reporting formats, and process descriptions.',
		'Activity lists: is a comprehensive list of all scheduled activities required on the project.  It also includes activity identifier and a scope of work description for each activity in sufficient detail to ensure that project teams understand what is required to be completed.',
		'Activity Attributes: extends the description of activity by identifying the components associated with each activity.  The attributes are used for schedule development and selecting, ordering, and sorting the planned schedule activities in various ways within reports.',
		'Activity Resource Requirements: ',
		'Resource Calendars: identifies the working days and shifts on which each specific resource is available.   This information is used to estimate resource utilization.  The calendar specifies when and how long identified project resources will be available during the project.  The information may be at activity or project level.',
		'Project Scope Statement: this document contains the product scope description and includes product characteristics that may affect activity sequencing.',
		'Risk Register: documents the results of risk analysis and risk response.',
		'Resource Breakdown Structure: ',
		'Enterprise Environmental Factors: are conditions not under the control of the project team that influences, constraints, or direct the project.',
		'Organizational Process Assets: are plans, processes, policies, procedures, and knowledge bases specific to and used by the performing organization.  This includes any artifact, practice or knowledge from any or all of the organizations involved in the project that can be used to perform or govern the project.'		
		
	]},
	"DevelopSchedule" :{
		"input" : [
		'Schedule Management Plan: can establish the project schedule model development, level of accuracy, units of measure, organizational procedures links, project schedule model maintenance, control thresholds, rules of performance measurement, reporting formats, and process descriptions.',
		'Activity lists: is a comprehensive list of all scheduled activities required on the project.  It also includes activity identifier and a scope of work description for each activity in sufficient detail to ensure that project teams understand what is required to be completed.',
		'Activity Attributes: extends the description of activity by identifying the components associated with each activity.  The attributes are used for schedule development and selecting, ordering, and sorting the planned schedule activities in various ways within reports.',
		'Project Schedule Network Diagrams: is a graphical depiction of the logical relationships among the project schedule activities.',
		'Resource Calendars: identifies the working days and shifts on which each specific resource is available.   This information is used to estimate resource utilization.  The calendar specifies when and how long identified project resources will be available during the project.  The information may be at activity or project level.',
		'Activity Duration Estimates',
		'Project Scope Statement: this document contains the product scope description and includes product characteristics that may affect activity sequencing.',
		'Risk Register: documents the results of risk analysis and risk response.',
		'Project Staff Assignment: Specifies which resources are assigned to each activity',
		'Resource Breakdown Structure:  hierarchical depiction of resources by category and type.',
		'Enterprise Environmental Factors: are conditions not under the control of the project team that influences, constraints, or direct the project.',
		'Organizational Process Assets: are plans, processes, policies, procedures, and knowledge bases specific to and used by the performing organization.  This includes any artifact, practice or knowledge from any or all of the organizations involved in the project that can be used to perform or govern the project.'		
		
	]},
		"ControlSchedule" :{
		"input" : [
		'Project Management Plan: defines how the project is executed, monitored, controlled and closed.  The scope baseline and other information such as related cost, risk, and communication decisions are information used from this document to produce the schedule management plan.',
		'Project Schedule: ',
		'Work Performance Data: refers to information about project progress such as activities that have started their progress and activities that have been finished.',
		'Schedule Data: the collection of information for describing and controlling the schedule.  It includes at least the schedule milestones, schedule activities, activity attributes, and documentation of all identified assumptions and constraints.',
		'Organizational Process Assets: are plans, processes, policies, procedures, and knowledge bases specific to and used by the performing organization.  This includes any artifact, practice or knowledge from any or all of the organizations involved in the project that can be used to perform or govern the project.'		
		
	]}
	
	};

/*
 * 
 * a scroll view allows for the display of multiple labels that can scroll accross the screen
 * with a swipe gesture
 * we create an empty scrollview
 */
	var scrollView = Titanium.UI.createScrollableView({
		
	
		views:[],
		showPagingControl:true,
		pagingControlHeight:30,
		maxZoomScale:2.0,
		currentPage:0
	});
	

	var views_= {};
	var labels = {};
	/*
	 * dynamically create a view for each x amount of inputs for the knowledge area
	 * 
	 */
	for(var o = 0; o < inputObject[knowledgeArea].input.length; o++){
	//obj.push({title:inputObject[knowledgeArea].input[o]});
	
	views_['view' + o] = Ti.UI.createView({
		backgroundColor:'black'
	});
	labels['l'+o] = Ti.UI.createLabel({
		text:inputObject[knowledgeArea].input[o],
		color:'#fff',
		width:'auto',
		height:'auto'
	});
	views_['view' + o].add(labels['l' + o]);
	//add the view to the Scroll View
	scrollView.addView(views_['view'+o]);
	}

	// add scroll view to the window
	self.add(scrollView);
	
	return self;
};

module.exports = InputView;
